-- GENERATED SPELL FOR [Molt Thorn] --


function spell0_14448(pUnit, Event) --@Thorn Volley,Self--
pUnit:FullCastSpellOnTarget(21748,pUnit)
pUnit:RegisterEvent('Sorts_14448', 2256, 1)
end

function Sorts_14448(pUnit, Event)
local choix_sorts_14448 = math.random(0, 0)
if choix_sorts_14448 == 0 then
pUnit:RegisterEvent('spell0_14448', 1, 1)
end
end

function mob14448_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14448', math.random(1500, 3000), 1)
end

function mob14448_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14448_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14448_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14448, 1, 'mob14448_Action')
RegisterUnitEvent(14448, 2, 'mob14448_Leave')
RegisterUnitEvent(14448, 3, 'mob14448_Kill')
RegisterUnitEvent(14448, 4, 'mob14448_Die')
